home *** CD-ROM | disk | FTP | other *** search
/ 1st Multimedia Mac Shareware / Multimedia Shareware CD-ROM - BetaCorp.iso / StackToolsƒ / Resources / Text Writer / cards.xml < prev    next >
Encoding:
Text File  |  1992-08-13  |  27.0 KB  |  756 lines

  1. card_3842.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3842</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>3394</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_2978.css" />
  12.     <part>
  13.         <id>6</id>
  14.         <type>button</type>
  15.         <visible> <true /> </visible>
  16.         <reserved5> 0 </reserved5>
  17.         <reserved4> 0 </reserved4>
  18.         <reserved3> 0 </reserved3>
  19.         <reserved2> 0 </reserved2>
  20.         <reserved1> 0 </reserved1>
  21.         <enabled> <true /> </enabled>
  22.         <rect>
  23.             <left>243</left>
  24.             <top>19</top>
  25.             <right>301</right>
  26.             <bottom>37</bottom>
  27.         </rect>
  28.         <style>rectangle</style>
  29.         <showName> <true /> </showName>
  30.         <highlight> <false /> </highlight>
  31.         <autoHighlight> <false /> </autoHighlight>
  32.         <sharedHighlight> <true /> </sharedHighlight>
  33.         <family>0</family>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>0</icon>
  36.         <textAlign>center</textAlign>
  37.         <font>Chicago</font>
  38.         <textSize>12</textSize>
  39.         <textStyle>plain</textStyle>
  40.         <name>Report</name>
  41.         <script>on mouseUp
  42. Open printing
  43. doMenu "Print Report..."
  44. close printing
  45. end mouseUp
  46. </script>
  47.     </part>
  48.     <part>
  49.         <id>12</id>
  50.         <type>field</type>
  51.         <visible> <false /> </visible>
  52.         <dontWrap> <false /> </dontWrap>
  53.         <dontSearch> <false /> </dontSearch>
  54.         <sharedText> <false /> </sharedText>
  55.         <fixedLineHeight> <true /> </fixedLineHeight>
  56.         <autoTab> <false /> </autoTab>
  57.         <lockText> <true /> </lockText>
  58.         <rect>
  59.             <left>87</left>
  60.             <top>152</top>
  61.             <right>357</right>
  62.             <bottom>296</bottom>
  63.         </rect>
  64.         <style>scrolling</style>
  65.         <autoSelect> <false /> </autoSelect>
  66.         <showLines> <false /> </showLines>
  67.         <wideMargins> <false /> </wideMargins>
  68.         <multipleLines> <false /> </multipleLines>
  69.         <reservedFamily> 0 </reservedFamily>
  70.         <titleWidth>0</titleWidth>
  71.         <icon>0</icon>
  72.         <textAlign>left</textAlign>
  73.         <font>Geneva</font>
  74.         <textSize>10</textSize>
  75.         <textStyle>plain</textStyle>
  76.         <textHeight>13</textHeight>
  77.         <name>Help field</name>
  78.         <script>on mouseUp
  79. hide card field "Help field"
  80. end mouseUp</script>
  81.     </part>
  82.     <part>
  83.         <id>18</id>
  84.         <type>button</type>
  85.         <visible> <true /> </visible>
  86.         <reserved5> 0 </reserved5>
  87.         <reserved4> 0 </reserved4>
  88.         <reserved3> 0 </reserved3>
  89.         <reserved2> 0 </reserved2>
  90.         <reserved1> 0 </reserved1>
  91.         <enabled> <true /> </enabled>
  92.         <rect>
  93.             <left>468</left>
  94.             <top>19</top>
  95.             <right>512</right>
  96.             <bottom>37</bottom>
  97.         </rect>
  98.         <style>rectangle</style>
  99.         <showName> <true /> </showName>
  100.         <highlight> <false /> </highlight>
  101.         <autoHighlight> <false /> </autoHighlight>
  102.         <sharedHighlight> <true /> </sharedHighlight>
  103.         <family>0</family>
  104.         <titleWidth>0</titleWidth>
  105.         <icon>0</icon>
  106.         <textAlign>center</textAlign>
  107.         <font>Chicago</font>
  108.         <textSize>12</textSize>
  109.         <textStyle>plain</textStyle>
  110.         <name>Home</name>
  111.         <script>on mouseUp
  112. go Home
  113. end mouseUp
  114. </script>
  115.     </part>
  116.     <part>
  117.         <id>19</id>
  118.         <type>button</type>
  119.         <visible> <true /> </visible>
  120.         <reserved5> 0 </reserved5>
  121.         <reserved4> 0 </reserved4>
  122.         <reserved3> 0 </reserved3>
  123.         <reserved2> 0 </reserved2>
  124.         <reserved1> 0 </reserved1>
  125.         <enabled> <true /> </enabled>
  126.         <rect>
  127.             <left>0</left>
  128.             <top>19</top>
  129.             <right>60</right>
  130.             <bottom>37</bottom>
  131.         </rect>
  132.         <style>rectangle</style>
  133.         <showName> <true /> </showName>
  134.         <highlight> <false /> </highlight>
  135.         <autoHighlight> <false /> </autoHighlight>
  136.         <sharedHighlight> <true /> </sharedHighlight>
  137.         <family>0</family>
  138.         <titleWidth>0</titleWidth>
  139.         <icon>0</icon>
  140.         <textAlign>center</textAlign>
  141.         <font>Chicago</font>
  142.         <textSize>12</textSize>
  143.         <textStyle>plain</textStyle>
  144.         <name>Open</name>
  145.         <script>on mouseUp
  146. show card field "List"
  147. if Selection is empty
  148. show card button "Hide List"
  149. then exit mouseup
  150. put Selection into fileName
  151. put card field fileName into bkgnd field "Text"
  152. put ">>"&fileName&"<<" into bkgnd field "Title"
  153. hide card field "List"
  154. hide card button "Hide List"
  155. show card button "List"
  156. end mouseUp
  157. </script>
  158.     </part>
  159.     <part>
  160.         <id>21</id>
  161.         <type>button</type>
  162.         <visible> <true /> </visible>
  163.         <reserved5> 0 </reserved5>
  164.         <reserved4> 0 </reserved4>
  165.         <reserved3> 0 </reserved3>
  166.         <reserved2> 0 </reserved2>
  167.         <reserved1> 0 </reserved1>
  168.         <enabled> <true /> </enabled>
  169.         <rect>
  170.             <left>299</left>
  171.             <top>19</top>
  172.             <right>354</right>
  173.             <bottom>37</bottom>
  174.         </rect>
  175.         <style>rectangle</style>
  176.         <showName> <true /> </showName>
  177.         <highlight> <false /> </highlight>
  178.         <autoHighlight> <false /> </autoHighlight>
  179.         <sharedHighlight> <true /> </sharedHighlight>
  180.         <family>0</family>
  181.         <titleWidth>0</titleWidth>
  182.         <icon>0</icon>
  183.         <textAlign>center</textAlign>
  184.         <font>Chicago</font>
  185.         <textSize>12</textSize>
  186.         <textStyle>plain</textStyle>
  187.         <name>New</name>
  188.         <script>on mouseUp
  189. put empty into bkgnd field "Text"
  190. put "<<untitled>>" into bkgnd field "Title"
  191. click at 4,86
  192. end mouseUp
  193. </script>
  194.     </part>
  195.     <part>
  196.         <id>22</id>
  197.         <type>field</type>
  198.         <visible> <false /> </visible>
  199.         <dontWrap> <false /> </dontWrap>
  200.         <dontSearch> <false /> </dontSearch>
  201.         <sharedText> <false /> </sharedText>
  202.         <fixedLineHeight> <true /> </fixedLineHeight>
  203.         <autoTab> <false /> </autoTab>
  204.         <lockText> <false /> </lockText>
  205.         <rect>
  206.             <left>1</left>
  207.             <top>74</top>
  208.             <right>108</right>
  209.             <bottom>342</bottom>
  210.         </rect>
  211.         <style>scrolling</style>
  212.         <autoSelect> <false /> </autoSelect>
  213.         <showLines> <false /> </showLines>
  214.         <wideMargins> <true /> </wideMargins>
  215.         <multipleLines> <false /> </multipleLines>
  216.         <reservedFamily> 0 </reservedFamily>
  217.         <titleWidth>0</titleWidth>
  218.         <icon>0</icon>
  219.         <textAlign>left</textAlign>
  220.         <font>Geneva</font>
  221.         <textSize>12</textSize>
  222.         <textStyle>plain</textStyle>
  223.         <textHeight>16</textHeight>
  224.         <name>List</name>
  225.         <script>on mouseUp
  226.  
  227. end mouseUp
  228. </script>
  229.     </part>
  230.     <part>
  231.         <id>23</id>
  232.         <type>button</type>
  233.         <visible> <true /> </visible>
  234.         <reserved5> 0 </reserved5>
  235.         <reserved4> 0 </reserved4>
  236.         <reserved3> 0 </reserved3>
  237.         <reserved2> 0 </reserved2>
  238.         <reserved1> 0 </reserved1>
  239.         <enabled> <true /> </enabled>
  240.         <rect>
  241.             <left>114</left>
  242.             <top>19</top>
  243.             <right>184</right>
  244.             <bottom>37</bottom>
  245.         </rect>
  246.         <style>rectangle</style>
  247.         <showName> <true /> </showName>
  248.         <highlight> <false /> </highlight>
  249.         <autoHighlight> <false /> </autoHighlight>
  250.         <sharedHighlight> <true /> </sharedHighlight>
  251.         <family>0</family>
  252.         <titleWidth>0</titleWidth>
  253.         <icon>0</icon>
  254.         <textAlign>center</textAlign>
  255.         <font>Chicago</font>
  256.         <textSize>12</textSize>
  257.         <textStyle>plain</textStyle>
  258.         <name>List</name>
  259.         <script>on mouseUp
  260. show card field "List"
  261. hide card button "List"
  262. show card button "Hide List"
  263. end mouseUp
  264. </script>
  265.     </part>
  266.     <part>
  267.         <id>26</id>
  268.         <type>button</type>
  269.         <visible> <false /> </visible>
  270.         <reserved5> 0 </reserved5>
  271.         <reserved4> 0 </reserved4>
  272.         <reserved3> 0 </reserved3>
  273.         <reserved2> 0 </reserved2>
  274.         <reserved1> 0 </reserved1>
  275.         <enabled> <true /> </enabled>
  276.         <rect>
  277.             <left>114</left>
  278.             <top>19</top>
  279.             <right>179</right>
  280.             <bottom>37</bottom>
  281.         </rect>
  282.         <style>rectangle</style>
  283.         <showName> <true /> </showName>
  284.         <highlight> <false /> </highlight>
  285.         <autoHighlight> <false /> </autoHighlight>
  286.         <sharedHighlight> <true /> </sharedHighlight>
  287.         <family>0</family>
  288.         <titleWidth>0</titleWidth>
  289.         <icon>0</icon>
  290.         <textAlign>center</textAlign>
  291.         <font>Chicago</font>
  292.         <textSize>12</textSize>
  293.         <textStyle>plain</textStyle>
  294.         <name>Hide List</name>
  295.         <script>on mouseUp
  296. hide card field 2
  297. hide card button "Hide List"
  298. show card button "List"
  299.  
  300. end mouseUp
  301. </script>
  302.     </part>
  303.     <part>
  304.         <id>29</id>
  305.         <type>button</type>
  306.         <visible> <true /> </visible>
  307.         <reserved5> 0 </reserved5>
  308.         <reserved4> 0 </reserved4>
  309.         <reserved3> 0 </reserved3>
  310.         <reserved2> 0 </reserved2>
  311.         <reserved1> 0 </reserved1>
  312.         <enabled> <true /> </enabled>
  313.         <rect>
  314.             <left>405</left>
  315.             <top>19</top>
  316.             <right>469</right>
  317.             <bottom>37</bottom>
  318.         </rect>
  319.         <style>rectangle</style>
  320.         <showName> <true /> </showName>
  321.         <highlight> <false /> </highlight>
  322.         <autoHighlight> <false /> </autoHighlight>
  323.         <sharedHighlight> <true /> </sharedHighlight>
  324.         <family>0</family>
  325.         <titleWidth>0</titleWidth>
  326.         <icon>0</icon>
  327.         <textAlign>center</textAlign>
  328.         <font>Chicago</font>
  329.         <textSize>12</textSize>
  330.         <textStyle>plain</textStyle>
  331.         <name>Save As</name>
  332.         <script>on mouseUp
  333. ask "Save text to what file name?"
  334. if it is empty then exit mouseUp
  335. put it into fileName
  336. if fileName is in card field "List"
  337. then
  338. answer "Sorry, can't use that name (check your list)." with "OK"
  339. else
  340. set the lockScreen to true
  341. set the cursor to 4
  342. put it into fileName
  343. set the lockScreen to true
  344. domenu "New Field"
  345. get the number of card fields
  346. set name of card field IT to filename
  347. put bkgnd field "Text" into card field fileName
  348. put number of lines in card field "List" into counter
  349. add 1 to counter
  350. put fileName into line counter of card field "List"
  351. put ">>"&fileName&"<<" into bkgnd field "Title"
  352. choose browse tool
  353. hide card field fileName
  354. end if
  355. end mouseUp
  356. </script>
  357.     </part>
  358.     <part>
  359.         <id>58</id>
  360.         <type>button</type>
  361.         <visible> <true /> </visible>
  362.         <reserved5> 0 </reserved5>
  363.         <reserved4> 0 </reserved4>
  364.         <reserved3> 0 </reserved3>
  365.         <reserved2> 0 </reserved2>
  366.         <reserved1> 0 </reserved1>
  367.         <enabled> <true /> </enabled>
  368.         <rect>
  369.             <left>59</left>
  370.             <top>19</top>
  371.             <right>115</right>
  372.             <bottom>37</bottom>
  373.         </rect>
  374.         <style>rectangle</style>
  375.         <showName> <true /> </showName>
  376.         <highlight> <false /> </highlight>
  377.         <autoHighlight> <false /> </autoHighlight>
  378.         <sharedHighlight> <true /> </sharedHighlight>
  379.         <family>0</family>
  380.         <titleWidth>0</titleWidth>
  381.         <icon>0</icon>
  382.         <textAlign>center</textAlign>
  383.         <font>Chicago</font>
  384.         <textSize>12</textSize>
  385.         <textStyle>plain</textStyle>
  386.         <name>Delete</name>
  387.         <script>on mouseUp
  388. Ask "Which file to be deleted?"
  389. set the cursor to 4
  390. set lockScreen to true
  391. put it into delFile
  392. if it is empty then exit mouseup
  393. else set the lockScreen to true
  394. choose field tool
  395. get location of card field delFile
  396. show card field delFile
  397. click at it
  398. domenu "Clear Field"
  399. put number of lines in card field "List" into Count
  400. repeat with L= 1 to Count
  401. if line L of card field "List" = delFile
  402. then delete line L of card field "List"
  403. end repeat
  404. choose browse tool
  405. end mouseUp
  406. </script>
  407.     </part>
  408.     <part>
  409.         <id>76</id>
  410.         <type>field</type>
  411.         <visible> <false /> </visible>
  412.         <dontWrap> <false /> </dontWrap>
  413.         <dontSearch> <false /> </dontSearch>
  414.         <sharedText> <false /> </sharedText>
  415.         <fixedLineHeight> <true /> </fixedLineHeight>
  416.         <autoTab> <false /> </autoTab>
  417.         <lockText> <false /> </lockText>
  418.         <rect>
  419.             <left>156</left>
  420.             <top>120</top>
  421.             <right>356</right>
  422.             <bottom>205</bottom>
  423.         </rect>
  424.         <style>transparent</style>
  425.         <autoSelect> <false /> </autoSelect>
  426.         <showLines> <false /> </showLines>
  427.         <wideMargins> <false /> </wideMargins>
  428.         <multipleLines> <false /> </multipleLines>
  429.         <reservedFamily> 0 </reservedFamily>
  430.         <titleWidth>0</titleWidth>
  431.         <icon>0</icon>
  432.         <textAlign>left</textAlign>
  433.         <font>Geneva</font>
  434.         <textSize>12</textSize>
  435.         <textStyle>plain</textStyle>
  436.         <textHeight>16</textHeight>
  437.         <name>Now is the Time</name>
  438.         <script></script>
  439.     </part>
  440.     <part>
  441.         <id>78</id>
  442.         <type>field</type>
  443.         <visible> <true /> </visible>
  444.         <dontWrap> <false /> </dontWrap>
  445.         <dontSearch> <false /> </dontSearch>
  446.         <sharedText> <false /> </sharedText>
  447.         <fixedLineHeight> <true /> </fixedLineHeight>
  448.         <autoTab> <false /> </autoTab>
  449.         <lockText> <false /> </lockText>
  450.         <rect>
  451.             <left>156</left>
  452.             <top>120</top>
  453.             <right>356</right>
  454.             <bottom>205</bottom>
  455.         </rect>
  456.         <style>transparent</style>
  457.         <autoSelect> <false /> </autoSelect>
  458.         <showLines> <false /> </showLines>
  459.         <wideMargins> <false /> </wideMargins>
  460.         <multipleLines> <false /> </multipleLines>
  461.         <reservedFamily> 0 </reservedFamily>
  462.         <titleWidth>0</titleWidth>
  463.         <icon>0</icon>
  464.         <textAlign>left</textAlign>
  465.         <font>Geneva</font>
  466.         <textSize>12</textSize>
  467.         <textStyle>plain</textStyle>
  468.         <textHeight>16</textHeight>
  469.         <name>Time</name>
  470.         <script></script>
  471.     </part>
  472.     <part>
  473.         <id>82</id>
  474.         <type>field</type>
  475.         <visible> <false /> </visible>
  476.         <dontWrap> <false /> </dontWrap>
  477.         <dontSearch> <false /> </dontSearch>
  478.         <sharedText> <false /> </sharedText>
  479.         <fixedLineHeight> <true /> </fixedLineHeight>
  480.         <autoTab> <false /> </autoTab>
  481.         <lockText> <false /> </lockText>
  482.         <rect>
  483.             <left>156</left>
  484.             <top>120</top>
  485.             <right>356</right>
  486.             <bottom>205</bottom>
  487.         </rect>
  488.         <style>transparent</style>
  489.         <autoSelect> <false /> </autoSelect>
  490.         <showLines> <false /> </showLines>
  491.         <wideMargins> <false /> </wideMargins>
  492.         <multipleLines> <false /> </multipleLines>
  493.         <reservedFamily> 0 </reservedFamily>
  494.         <titleWidth>0</titleWidth>
  495.         <icon>0</icon>
  496.         <textAlign>left</textAlign>
  497.         <font>Geneva</font>
  498.         <textSize>12</textSize>
  499.         <textStyle>plain</textStyle>
  500.         <textHeight>16</textHeight>
  501.         <name>Test</name>
  502.         <script></script>
  503.     </part>
  504.     <part>
  505.         <id>87</id>
  506.         <type>button</type>
  507.         <visible> <true /> </visible>
  508.         <reserved5> 0 </reserved5>
  509.         <reserved4> 0 </reserved4>
  510.         <reserved3> 0 </reserved3>
  511.         <reserved2> 0 </reserved2>
  512.         <reserved1> 0 </reserved1>
  513.         <enabled> <true /> </enabled>
  514.         <rect>
  515.             <left>353</left>
  516.             <top>19</top>
  517.             <right>406</right>
  518.             <bottom>37</bottom>
  519.         </rect>
  520.         <style>rectangle</style>
  521.         <showName> <true /> </showName>
  522.         <highlight> <false /> </highlight>
  523.         <autoHighlight> <false /> </autoHighlight>
  524.         <sharedHighlight> <true /> </sharedHighlight>
  525.         <family>0</family>
  526.         <titleWidth>0</titleWidth>
  527.         <icon>0</icon>
  528.         <textAlign>center</textAlign>
  529.         <font>Chicago</font>
  530.         <textSize>12</textSize>
  531.         <textStyle>plain</textStyle>
  532.         <name>Save</name>
  533.         <script>on mouseUp
  534. ask "Save text to what file name?"
  535. if it is empty then exit mouseUp
  536. put it into fileName
  537. put number of lines in card field "List" into Count
  538. repeat with L= 1 to Count
  539. repeat while line L of card field "List" = fileName
  540. answer "Replace document with same name?" with "OK" or "Cancel"
  541. set the cursor to 4
  542. set the lockScreen to true
  543. put bkgnd field "Text" into card field fileName
  544. put fileName into bkgnd field "Title"
  545. exit mouseUp
  546. end repeat
  547. end repeat
  548. set the cursor to 4
  549. set the lockScreen to true
  550. domenu "New Field"
  551. get the number of card fields
  552. set name of card field IT to filename
  553. put bkgnd field "Text" into card field fileName
  554. put number of lines in card field "List" into counter
  555. add 1 to counter
  556. put fileName into line counter of card field "List"
  557. put ">>"&fileName&"<<" into bkgnd field "Title"
  558. hide card field fileName
  559. choose browse tool
  560. end mouseUp
  561. </script>
  562.     </part>
  563.     <part>
  564.         <id>115</id>
  565.         <type>button</type>
  566.         <visible> <true /> </visible>
  567.         <reserved5> 0 </reserved5>
  568.         <reserved4> 0 </reserved4>
  569.         <reserved3> 0 </reserved3>
  570.         <reserved2> 0 </reserved2>
  571.         <reserved1> 0 </reserved1>
  572.         <enabled> <true /> </enabled>
  573.         <rect>
  574.             <left>178</left>
  575.             <top>19</top>
  576.             <right>244</right>
  577.             <bottom>37</bottom>
  578.         </rect>
  579.         <style>rectangle</style>
  580.         <showName> <true /> </showName>
  581.         <highlight> <false /> </highlight>
  582.         <autoHighlight> <false /> </autoHighlight>
  583.         <sharedHighlight> <true /> </sharedHighlight>
  584.         <family>0</family>
  585.         <titleWidth>0</titleWidth>
  586.         <icon>0</icon>
  587.         <textAlign>center</textAlign>
  588.         <font>Chicago</font>
  589.         <textSize>12</textSize>
  590.         <textStyle>plain</textStyle>
  591.         <name>Transfer</name>
  592.         <script>on mouseUp
  593. set the lockScreen to true
  594. get location of bkgnd field "Title"
  595. click at it
  596. type tab
  597. domenu "Copy Text"
  598. open Application
  599. end mouseUp
  600. </script>
  601.     </part>
  602.     <part>
  603.         <id>116</id>
  604.         <type>field</type>
  605.         <visible> <false /> </visible>
  606.         <dontWrap> <false /> </dontWrap>
  607.         <dontSearch> <false /> </dontSearch>
  608.         <sharedText> <false /> </sharedText>
  609.         <fixedLineHeight> <true /> </fixedLineHeight>
  610.         <autoTab> <false /> </autoTab>
  611.         <lockText> <false /> </lockText>
  612.         <rect>
  613.             <left>156</left>
  614.             <top>120</top>
  615.             <right>356</right>
  616.             <bottom>205</bottom>
  617.         </rect>
  618.         <style>transparent</style>
  619.         <autoSelect> <false /> </autoSelect>
  620.         <showLines> <false /> </showLines>
  621.         <wideMargins> <false /> </wideMargins>
  622.         <multipleLines> <false /> </multipleLines>
  623.         <reservedFamily> 0 </reservedFamily>
  624.         <titleWidth>0</titleWidth>
  625.         <icon>0</icon>
  626.         <textAlign>left</textAlign>
  627.         <font>Geneva</font>
  628.         <textSize>12</textSize>
  629.         <textStyle>plain</textStyle>
  630.         <textHeight>16</textHeight>
  631.         <name>Intro</name>
  632.         <script></script>
  633.     </part>
  634.     <part>
  635.         <id>117</id>
  636.         <type>button</type>
  637.         <visible> <true /> </visible>
  638.         <reserved5> 0 </reserved5>
  639.         <reserved4> 0 </reserved4>
  640.         <reserved3> 0 </reserved3>
  641.         <reserved2> 0 </reserved2>
  642.         <reserved1> 0 </reserved1>
  643.         <enabled> <true /> </enabled>
  644.         <rect>
  645.             <left>0</left>
  646.             <top>36</top>
  647.             <right>115</right>
  648.             <bottom>53</bottom>
  649.         </rect>
  650.         <style>rectangle</style>
  651.         <showName> <true /> </showName>
  652.         <highlight> <false /> </highlight>
  653.         <autoHighlight> <false /> </autoHighlight>
  654.         <sharedHighlight> <true /> </sharedHighlight>
  655.         <family>0</family>
  656.         <titleWidth>0</titleWidth>
  657.         <icon>0</icon>
  658.         <textAlign>center</textAlign>
  659.         <font>Chicago</font>
  660.         <textSize>12</textSize>
  661.         <textStyle>plain</textStyle>
  662.         <name>MacWrite</name>
  663.         <script>on mouseUp
  664. set the lockScreen to true
  665. get location of bkgnd field "Title"
  666. click at it
  667. type tab
  668. domenu "Copy Text"
  669. open "MacWrite"
  670. end mouseUp
  671. </script>
  672.     </part>
  673.     <part>
  674.         <id>118</id>
  675.         <type>button</type>
  676.         <visible> <true /> </visible>
  677.         <reserved5> 0 </reserved5>
  678.         <reserved4> 0 </reserved4>
  679.         <reserved3> 0 </reserved3>
  680.         <reserved2> 0 </reserved2>
  681.         <reserved1> 0 </reserved1>
  682.         <enabled> <true /> </enabled>
  683.         <rect>
  684.             <left>114</left>
  685.             <top>36</top>
  686.             <right>244</right>
  687.             <bottom>53</bottom>
  688.         </rect>
  689.         <style>rectangle</style>
  690.         <showName> <true /> </showName>
  691.         <highlight> <false /> </highlight>
  692.         <autoHighlight> <false /> </autoHighlight>
  693.         <sharedHighlight> <true /> </sharedHighlight>
  694.         <family>0</family>
  695.         <titleWidth>0</titleWidth>
  696.         <icon>0</icon>
  697.         <textAlign>center</textAlign>
  698.         <font>Chicago</font>
  699.         <textSize>12</textSize>
  700.         <textStyle>plain</textStyle>
  701.         <name>MS Word</name>
  702.         <script>on mouseUp
  703. set the lockScreen to true
  704. get location of bkgnd field "Title"
  705. click at it
  706. type tab
  707. domenu "Copy Text"
  708. open "Microsoft Word"
  709. end mouseUp
  710. </script>
  711.     </part>
  712.     <part>
  713.         <id>119</id>
  714.         <type>button</type>
  715.         <visible> <true /> </visible>
  716.         <reserved5> 0 </reserved5>
  717.         <reserved4> 0 </reserved4>
  718.         <reserved3> 0 </reserved3>
  719.         <reserved2> 0 </reserved2>
  720.         <reserved1> 0 </reserved1>
  721.         <enabled> <true /> </enabled>
  722.         <rect>
  723.             <left>243</left>
  724.             <top>36</top>
  725.             <right>354</right>
  726.             <bottom>53</bottom>
  727.         </rect>
  728.         <style>rectangle</style>
  729.         <showName> <true /> </showName>
  730.         <highlight> <false /> </highlight>
  731.         <autoHighlight> <false /> </autoHighlight>
  732.         <sharedHighlight> <true /> </sharedHighlight>
  733.         <family>0</family>
  734.         <titleWidth>0</titleWidth>
  735.         <icon>0</icon>
  736.         <textAlign>center</textAlign>
  737.         <font>Chicago</font>
  738.         <textSize>12</textSize>
  739.         <textStyle>plain</textStyle>
  740.         <name><<blank>></name>
  741.         <script>on mouseUp
  742. --set the lockScreen to true
  743. --get location of bkgnd field "Title"
  744. --click at it
  745. --type tab
  746. --domenu "Copy Text"
  747. --open " "
  748. end mouseUp
  749. </script>
  750.     </part>
  751.     <part>
  752.         <id>120</id>
  753.         <type>button</type>
  754.         <visible> <true /> </visible>
  755.         <reserved5> 0 </reserved5>
  756.         <reserved4> 0 </reserved4>
  757.         <reserved3> 0 </reserved3>
  758.         <reserved2> 0 </reserved2>
  759.         <reserved1> 0 </reserved1>
  760.         <enabled> <true /> </enabled>
  761.         <rect>
  762.             <left>353</left>
  763.             <top>36</top>
  764.             <right>436</right>
  765.             <bottom>53</bottom>
  766.         </rect>
  767.         <style>rectangle</style>
  768.         <showName> <true /> </showName>
  769.         <highlight> <false /> </highlight>
  770.         <autoHighlight> <false /> </autoHighlight>
  771.         <sharedHighlight> <true /> </sharedHighlight>
  772.         <family>0</family>
  773.         <titleWidth>0</titleWidth>
  774.         <icon>0</icon>
  775.         <textAlign>center</textAlign>
  776.         <font>Chicago</font>
  777.         <textSize>12</textSize>
  778.         <textStyle>plain</textStyle>
  779.         <name><<blank>></name>
  780.         <script>on mouseUp
  781. --set the lockScreen to true
  782. --get location of bkgnd field "Title"
  783. --click at it
  784. --type tab
  785. --domenu "Copy Text"
  786. --open " "
  787. end mouseUp
  788. </script>
  789.     </part>
  790.     <part>
  791.         <id>121</id>
  792.         <type>button</type>
  793.         <visible> <true /> </visible>
  794.         <reserved5> 0 </reserved5>
  795.         <reserved4> 0 </reserved4>
  796.         <reserved3> 0 </reserved3>
  797.         <reserved2> 0 </reserved2>
  798.         <reserved1> 0 </reserved1>
  799.         <enabled> <true /> </enabled>
  800.         <rect>
  801.             <left>435</left>
  802.             <top>36</top>
  803.             <right>512</right>
  804.             <bottom>53</bottom>
  805.         </rect>
  806.         <style>rectangle</style>
  807.         <showName> <true /> </showName>
  808.         <highlight> <false /> </highlight>
  809.         <autoHighlight> <false /> </autoHighlight>
  810.         <sharedHighlight> <true /> </sharedHighlight>
  811.         <family>0</family>
  812.         <titleWidth>0</titleWidth>
  813.         <icon>0</icon>
  814.         <textAlign>center</textAlign>
  815.         <font>Chicago</font>
  816.         <textSize>12</textSize>
  817.         <textStyle>plain</textStyle>
  818.         <name><<blank>></name>
  819.         <script>on mouseUp
  820. --set the lockScreen to true
  821. --get location of bkgnd field "Title"
  822. --click at it
  823. --type tab
  824. --domenu "Copy Text"
  825. --open "MacWrite"
  826. end mouseUp
  827. </script>
  828.     </part>
  829.     <part>
  830.         <id>122</id>
  831.         <type>field</type>
  832.         <visible> <false /> </visible>
  833.         <dontWrap> <false /> </dontWrap>
  834.         <dontSearch> <false /> </dontSearch>
  835.         <sharedText> <false /> </sharedText>
  836.         <fixedLineHeight> <true /> </fixedLineHeight>
  837.         <autoTab> <false /> </autoTab>
  838.         <lockText> <false /> </lockText>
  839.         <rect>
  840.             <left>156</left>
  841.             <top>120</top>
  842.             <right>356</right>
  843.             <bottom>205</bottom>
  844.         </rect>
  845.         <style>transparent</style>
  846.         <autoSelect> <false /> </autoSelect>
  847.         <showLines> <false /> </showLines>
  848.         <wideMargins> <false /> </wideMargins>
  849.         <multipleLines> <false /> </multipleLines>
  850.         <reservedFamily> 0 </reservedFamily>
  851.         <titleWidth>0</titleWidth>
  852.         <icon>0</icon>
  853.         <textAlign>left</textAlign>
  854.         <font>Geneva</font>
  855.         <textSize>12</textSize>
  856.         <textStyle>plain</textStyle>
  857.         <textHeight>16</textHeight>
  858.         <name>Instructions</name>
  859.         <script></script>
  860.     </part>
  861.     <content>
  862.         <layer>card</layer>
  863.         <id>12</id>
  864.         <text> </text>
  865.     </content>
  866.     <content>
  867.         <layer>background</layer>
  868.         <id>23</id>
  869.         <text> </text>
  870.     </content>
  871.     <content>
  872.         <layer>card</layer>
  873.         <id>76</id>
  874.         <text>Now is the time for all good men to come to the aid of their party.
  875. The quick brown fox jumped over the sleepy lazy dog.</text>
  876.     </content>
  877.     <content>
  878.         <layer>card</layer>
  879.         <id>82</id>
  880.         <text>Now is the time for all good men to come to the aid of their party.
  881. </text>
  882.     </content>
  883.     <content>
  884.         <layer>card</layer>
  885.         <id>78</id>
  886.         <text> 
  887.  
  888.  
  889.  
  890.  
  891. </text>
  892.     </content>
  893.     <content>
  894.         <layer>card</layer>
  895.         <id>116</id>
  896.         <text>INTRODUCTION:       
  897.  
  898.        The purpose of creating this text writer stack was to create a writing environment that more closely resembled word processing and at the same time did not clutter up my desktop with text icons which other text editor
  899. type of stacks, which I have tried, do.
  900.  
  901.        What this stack does is to create hidden fields where your documents are stored after you use Save or Save As until you open them up again.  Then when you are ready to print out your work, you can either use the standard Report printing as provided in HyperCard, or you can paste the contents of your work directly into any other application that you may like to use.
  902.       
  903.        One nice feature of this stack is that there is List which you can call up at any time which lists all the documents you have created, and which by merely dragging across the name of the document and choosing Open, will open it up on the screen.
  904.  
  905.        After you have finished reading this, delete this introduction by choosing the Delete button, then choose either  "Open" or "List" and read the   Instructions file.
  906.  
  907.        I have not protected this stack and purposely left room for you to add additional buttons for your own experimentation.
  908.  
  909.        Fred Di Marco
  910.        Compuserve 72667,2376
  911.  
  912.  
  913.  
  914. </text>
  915.     </content>
  916.     <content>
  917.         <layer>card</layer>
  918.         <id>22</id>
  919.         <text>Intro
  920. Instructions</text>
  921.     </content>
  922.     <content>
  923.         <layer>card</layer>
  924.         <id>122</id>
  925.         <text>"Open"
  926.      This button opens up the "List" field which lists all documents created.
  927. If you don't want to open any one of them just click on "Hide List".  To open a document listed just select it by dragging across its name and choose open again, and it will appear on the screen.
  928.  
  929. "Delete"
  930.      This button will not only delete the hidden field where the document is stored but also the name off the "List".  It is not case sensitive.
  931.  
  932. "List"
  933.      Lists all documents created.  Click on "Hide List" to make it go away.
  934.  
  935. "Transfer", "MacWrite", "MS Word"
  936.      These buttons create a copy of any open document and then either:
  937.           - Transfers you to an application or document of your choosing,
  938.           - Transfers you to MacWrite or
  939.           - Transfers you to MS Word
  940.      Then when the application opens merely choose Paste from the menu or Command-V and your document from HyperCard is pasted into the application for enhancements or whatever. 
  941.  
  942. "Report"
  943.      Does the standard Report Printing as provided in HyperCard
  944.  
  945. "New"
  946.     Clears the Title and Text areas of the screen
  947.  
  948. "Save"
  949.      Saves document and checks the List to see if you have used the chosen name before. Here is where I encountered a bug which I have not been able to solve.  If for example you saved a document as "Frederick" and attempted to save either the same one or a different one as "Fred", the various scripts I have tried cannot seem to differentiate between them when the search of the List names occur.  If someone can come up with the right script, I'd like to know.
  950.  
  951. "Save As"
  952.      The usual Save As feature, but with the same bug as the Save feature when it comes to checking names.
  953.  
  954. "Home"
  955.      I don't think I'm in Kansas anymore!
  956.  
  957. "<<blank>>"
  958.      These have the same script as Transfer but disabled.
  959.  
  960.  
  961.     Of course I would appreciate any feedback or comments and hope I've contributed something (even if its just a little) to HyperCard creativity.
  962.  
  963.                Fred Di Marco
  964.                Compuserve 72667,2376
  965.  
  966.      </text>
  967.     </content>
  968.     <content>
  969.         <layer>background</layer>
  970.         <id>27</id>
  971.         <text>>>Intro<<</text>
  972.     </content>
  973.     <content>
  974.         <layer>background</layer>
  975.         <id>33</id>
  976.         <text>INTRODUCTION:       
  977.  
  978.        The purpose of creating this text writer stack was to create a writing environment that more closely resembled word processing and at the same time did not clutter up my desktop with text icons which other text editor
  979. type of stacks, which I have tried, do.
  980.  
  981.        What this stack does is to create hidden fields where your documents are stored after you use Save or Save As until you open them up again.  Then when you are ready to print out your work, you can either use the standard Report printing as provided in HyperCard, or you can paste the contents of your work directly into any other application that you may like to use.
  982.       
  983.        One nice feature of this stack is that there is List which you can call up at any time which lists all the documents you have created, and which by merely dragging across the name of the document and choosing Open, will open it up on the screen.
  984.  
  985.        After you have finished reading this, delete this introduction by choosing the Delete button, then choose either  "Open" or "List" and read the   Instructions file.
  986.  
  987.        I have not protected this stack and purposely left room for you to add additional buttons for your own experimentation.
  988.  
  989.        Fred Di Marco
  990.        Compuserve 72667,2376
  991.  
  992.  
  993.  
  994. </text>
  995.     </content>
  996.     <name></name>
  997.     <script>on openCard
  998. hide button "Hide List"
  999. show button "List"
  1000. hide card field "List"
  1001. end openCard
  1002. </script>
  1003. </card>
  1004.  
  1005.  
  1006.